package com.xly.webclick.model;

import com.xly.webclick.base.BaseData;

import java.util.List;

/**
 * Created by xuleyuan on 2018/8/28
 */

public class AddressData {

    private List<ProvinceBean> province;
    private List<CityBean> city;
    private List<RegionBean> region;

    public List<ProvinceBean> getProvince() {
        return province;
    }

    public void setProvince(List<ProvinceBean> province) {
        this.province = province;
    }

    public List<CityBean> getCity() {
        return city;
    }

    public void setCity(List<CityBean> city) {
        this.city = city;
    }

    public List<RegionBean> getRegion() {
        return region;
    }

    public void setRegion(List<RegionBean> region) {
        this.region = region;
    }

    public static class ProvinceBean {
        /**
         * pid : 11
         * pname : 北京
         */

        private int pid;
        private String pname;

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public String getPname() {
            return pname;
        }

        public void setPname(String pname) {
            this.pname = pname;
        }
    }

    public static class CityBean {
        /**
         * cid : 11000
         * initial : B
         * pid : 11
         * pname : 北京
         * cname : 北京
         */

        private int cid;
        private String initial;
        private int pid;
        private String pname;
        private String cname;

        public int getCid() {
            return cid;
        }

        public void setCid(int cid) {
            this.cid = cid;
        }

        public String getInitial() {
            return initial;
        }

        public void setInitial(String initial) {
            this.initial = initial;
        }

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public String getPname() {
            return pname;
        }

        public void setPname(String pname) {
            this.pname = pname;
        }

        public String getCname() {
            return cname;
        }

        public void setCname(String cname) {
            this.cname = cname;
        }
    }

    public static class RegionBean {
        /**
         * rid : 11000001
         * cid : 11000
         * pname : 北京
         * cname : 北京
         * rname : 东城
         */

        private int rid;
        private int cid;
        private String pname;
        private String cname;
        private String rname;

        public int getRid() {
            return rid;
        }

        public void setRid(int rid) {
            this.rid = rid;
        }

        public int getCid() {
            return cid;
        }

        public void setCid(int cid) {
            this.cid = cid;
        }

        public String getPname() {
            return pname;
        }

        public void setPname(String pname) {
            this.pname = pname;
        }

        public String getCname() {
            return cname;
        }

        public void setCname(String cname) {
            this.cname = cname;
        }

        public String getRname() {
            return rname;
        }

        public void setRname(String rname) {
            this.rname = rname;
        }
    }
}
